﻿using UFSoft.UBF.MD;

namespace UFSoft.UBF.Cust.ClassView.MVC.Metedata
{
    public class AttributeDTO : ElementDTO
    {
        public EnumBEType DataTypeFlag { get; set; }
        public KeyDTO DataTypeKey { get; set; }
        public EnumVisibility Visibility { get; set; }
        public bool IsNullable { get; set; }
        public bool ForOBAImport { get; set; }
        public bool IsReadOnly { get; set; }
        public string DefaultValue { get; set; }
        public string MaxValue { get; set; }
        public string MinValue { get; set; }
        public int Length { get; set; }
        public int Precision { get; set; }
        public int Scale { get; set; }
        public int Sequence { get; set; }
        public bool IsKey { get; set; }
        public string IdGenerator { get; set; }
        public bool IsGlobalized { get; set; }
        public bool IsCalculation { get; set; }
        public bool IsAuthority { get; set; }
        public string ValueExpression { get; set; }
        public bool IsCollection { get; set; }
        public bool IsSystem { get; set; }
        public bool IsBusinessKey { get; set; }
        public string GroupId { get; set; }
        public bool IsModifyControl { get; set; }
        public bool IsDynamic { get; set; }
        public bool IsImpressible { get; set; }
        public bool IsInCache { get; set; }
        public bool IsKeySerializable { get; set; }
        public string DefaultColumnName { get; set; }
        public bool IsQueryAttribute { get; set; }
        public bool IsForAsso { get; set; }
        public bool IsDefaultDimensionAttribute { get; set; }
        public bool IsDefaultMeasureAttribute { get; set; }
        public bool IsColumnDefine { get; set; }
        public bool IsFilterDefine { get; set; }
        public bool IsSortDefine { get; set; }
        public bool IsDefaultColumn { get; set; }
        public bool IsHide { get; set; }
        public bool IsShare { get; set; }
        public string GroupName { get; set; }
        public bool IsEntityKey { get; set; }
        public bool IsEntityData { get; set; }

        /// <summary>
        /// 扩展字段定义
        /// </summary>
        public DescFlexFieldDefDTO DescFlexFieldDef { get; set; }
    }
}